#-*-encoding=utf-8-*-
title=u"""申请职位"""
description=u"""申请的岗位的详细需求"""
displayed_columns=[u'name', u'postName', u'employmentDate']
facetag = u"""申请岗位"""

fields=(
    PersonSelectField(
        title=u'申请人',
        multiple_selection=False,
        selectable_object='persononly',
        write_condition=u'',
        default_value_exp=u'[]',
        name=u'name'
),
    SingleSelectField(
        description='',
        title=u'申请部门',
        validation_exp=u'',
        vocabulary_exp=u"flowsettings['DoDepartment']",
        limit=4,
        write_condition=u'',
        default_value_exp=u"flowsettings['DoDepartment'][0]",
        name=u'department'
),
    TextLineField(
        description='',
        title=u'申请岗位名称',
        validation_exp=u'',
        write_condition=u'',
        size=18,
        default_value_exp=u'""',
        name=u'postName'
),
    SingleSelectField(
        description='',
        title=u'申请原因',
        validation_exp=u'',
        vocabulary_exp=u"flowsettings['DoReason']",
        limit=4,
        write_condition=u'',
        default_value_exp=u"flowsettings['DoReason'][0]",
        name=u'reason'
),
    LinesField(
        description='',
        title=u'说明',
        validation_exp=u'',
        write_condition=u'',
        default_value_exp=u'[]',
        name=u'explain'
),
    DateField(
        minutestep=5,
        description='',
        title=u'入职日期',
        showtime=False,
        validation_exp=u'',
        write_condition=u'',
        default_value_exp=u'datetime.datetime.today()',
        name=u'employmentDate'
),)

fields_validation_script=ur""""""
